
#ifndef INVOKEBOARD_H
#define INVOKEBOARD_H

#include <BTableWidget>
#include <BScript>

using namespace BWE;

class InvokeBoard : public BWidget
{
public:
	InvokeBoard(BWidget* parent = 0);
	~InvokeBoard();

	void freshStack();

protected:
	void slotAssetChanged(BObject* object, const BValue& value);
	void slotStackFreshed(BObject* object);

private:
	BTableWidget*		_tableWidget;
	bool				_scrollToLastRow;
	BHolder<BScript>	_script;
};

#endif
